﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MSH.Server.Classes
{
    public static class SocialNetworkManager
    {
        public static List<ISocialNetworkProvider> RegisteredProviders = new List<ISocialNetworkProvider>();
 
        public static bool RegisterProvider(ISocialNetworkProvider provider)
        {
            if (RegisteredProviders.IndexOf(provider) != -1)
                return false;

            RegisteredProviders.Add(provider);
            return true;
        }
    }
}
